//
//  ProgressBtn.h
//  ImGuider
//
//  Created by 王鹏宇 on 2017/7/19.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PlayerManager.h"
@interface ProgressBtn : UIButton


/**
 * The progress of the view.
 **/
@property (nonatomic) CGFloat progress;


/**
 * The width of the line used to draw the progress view.
 **/
@property (nonatomic, assign) CGFloat lineWidth;

/**
 * The color of the progress view
 */

@property (nonatomic, strong) UIColor *progressColor;

@property (nonatomic)AVPlayerPlayState  playState;

@property  (nonatomic) float space;

/**
 * Make the background layer to spin around its center. This should be called in the main thread.
 */
- (void) startSpinProgressBackgroundLayer;

/**
 * Stop the spinning of the background layer. This should be called in the main thread.
 * WARN: This implementation remove all animations from background layer.
 **/
- (void) stopSpinProgressBackgroundLayer;

@end
